package com.study.base.concurrent;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * Description:
 * User: 27010
 * DateTime: 2018/3/3 20:24
 */
public class AtomicTest {
    public static void main(String[] args) {
        AtomicInteger integer = new AtomicInteger();
        integer.set(10);

        integer.addAndGet(10);
    }
}
